package com.cm.sys.intermanager.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @ClassNameWebSocketConfig
 * @Description 配置WebSocket 加载EndPointer
 * @Author WZC @Date2019/12/14 10:07
 * @Version V1.0
 **/
@Configuration
public class WebSocketConfig {

    @Bean
    ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
